package com.myres.model;

import java.sql.Timestamp;

/**
 * 
 * @author hikui
 * 
 */
public class Critic implements java.io.Serializable {

	private static final long serialVersionUID = 8643136579216151183L;
	private int id;
	private Order order;
	private Product product;
	private User user;
	private String content;
	private java.sql.Timestamp addTime;
	private int grade;
	private int rank;
	private int status;

	public Critic() {
		super();
	}

	public Critic(Order order, Product product, User user, String content,
			Timestamp addTime, int grade, int rank, int status) {
		super();
		this.order = order;
		this.product = product;
		this.user = user;
		this.content = content;
		this.addTime = addTime;
		this.grade = grade;
		this.rank = rank;
		this.status = status;
	}

	public int getId() {
		return id;
	}

	public void setId(int id) {
		this.id = id;
	}

	public Order getOrder() {
		return order;
	}

	public void setOrder(Order order) {
		this.order = order;
	}

	public Product getProduct() {
		return product;
	}

	public void setProduct(Product product) {
		this.product = product;
	}

	public User getUser() {
		return user;
	}

	public void setUser(User user) {
		this.user = user;
	}

	public String getContent() {
		return content;
	}

	public void setContent(String content) {
		this.content = content;
	}

	public java.sql.Timestamp getAddTime() {
		return addTime;
	}

	public void setAddTime(java.sql.Timestamp addTime) {
		this.addTime = addTime;
	}

	public int getGrade() {
		return grade;
	}

	public void setGrade(int grade) {
		this.grade = grade;
	}

	public int getRank() {
		return rank;
	}

	public void setRank(int rank) {
		this.rank = rank;
	}

	public int getStatus() {
		return status;
	}

	public void setStatus(int status) {
		this.status = status;
	}

}